//==============================================================================
// Huskarl_anim.txt
//==============================================================================

import norse_sword_anim.txt
import Large_Norse_Shield_anim.txt

//==============================================================================
define hammer
{
	TechLogic none/Hammer of the Gods
	set hotspot
	{
		version
		{
			Visual Tool Hammer
		}
	}
	set hotspot
	{
		version
		{
			Visual Tool N Hammer of the Gods
		}
	}
}

//==============================================================================
define head
{
	SetSelector
	{
		TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
		set hotspot
		{
			version
			{
				Visual Villager N Male Head
				ReplaceTexture Villager N Male Head/Infantry N Huskarl Head Standard
			}
		}
		set hotspot
		{
			version
			{
				Visual Villager N Male Head
				ReplaceTexture Villager N Male Head/Infantry N Huskarl Head Copper
			}
		}
		set hotspot
		{
			version
			{
				Visual Villager N Male Head
				ReplaceTexture Villager N Male Head/Infantry N Huskarl Head Bronze
			}
		}
		set hotspot
		{
			version
			{
				Visual Villager N Male Head
				ReplaceTexture Villager N Male Head/Infantry N Huskarl Head Iron
			}
		}
	}
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-boredA
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-boredA
						ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Copper
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-boredA
						ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Bronze
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-boredA
						ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Iron
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
		}
		SetSelector 
		{
			set hotspot
			{
				version
				{
					VisualGranny NHuskarl_IdleA
				}
			}
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		CinematicLogic
		SetSelector 
		{
			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-IdleA
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-IdleA
						ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Copper
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
						{
						Visual Infantry N Huskarl_Headless-IdleA
						ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Bronze
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-IdleA
						ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Iron
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
		}
		SetSelector 
		{
			set hotspot
			{
				version
				{
					VisualGranny NHuskarl_IdleA
				}
			}
		}
	}
}

//==============================================================================
anim Build
{
	SetSelector 
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag SpecificSoundSet 0.67 false Build checkVisible 
//-- end auto generated section
					connect RightHand hammer hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag SpecificSoundSet 0.67 false Build checkVisible 
//-- end auto generated section
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Copper
					connect RightHand hammer hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag SpecificSoundSet 0.67 false Build checkVisible 
//-- end auto generated section
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Bronze
					connect RightHand hammer hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag SpecificSoundSet 0.67 false Build checkVisible 
//-- end auto generated section
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Iron
					connect RightHand hammer hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		CinematicLogic
		SetSelector 
		{
			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag FootstepLeft 0.30 true	
						tag FootstepRight 0.70 true	
//-- end auto generated section
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag FootstepLeft 0.30 true	
						tag FootstepRight 0.70 true	
//-- end auto generated section
						ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Copper
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag FootstepLeft 0.30 true	
						tag FootstepRight 0.70 true	
//-- end auto generated section
						ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Bronze
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Infantry N Huskarl_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag FootstepLeft 0.30 true	
						tag FootstepRight 0.70 true	
//-- end auto generated section
						ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Iron
						connect RightHand NorseSword hotspot
						connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
					}
				}
			}
		}
		SetSelector 
		{
			set hotspot
			{
				version
				{
					VisualGranny NHuskarl_WalkA
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector 
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag Attack 0.67 true	
//-- end auto generated section
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag Attack 0.67 true	
//-- end auto generated section
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Copper
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag Attack 0.67 true	
//-- end auto generated section
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Bronze
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag Attack 0.67 true	
//-- end auto generated section
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Iron
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
	SetSelector 
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-DeathA
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-DeathA
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Copper
						connect TopOfHead Head hotspot
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-DeathA
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Bronze
						connect TopOfHead Head hotspot
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-DeathA
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Iron
						connect TopOfHead Head hotspot
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Flail
{
	SetSelector 
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-FlailA
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
						connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-FlailA
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Copper
						connect TopOfHead Head hotspot
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-FlailA
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Bronze
						connect TopOfHead Head hotspot
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_Headless-FlailA
					ReplaceTexture Infantry N Huskarl Standard/Infantry N Huskarl Iron
						connect TopOfHead Head hotspot
					connect RightHand NorseSword hotspot
					connect LeftForearm LargeNorseShield hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Cinematic
{
	SetSelector
	{
		set hotspot
		{
			name Huskarl_aomsp28hurlcabin
			version
			{
				VisualGranny NHuskarl_aomsp28hurlcabin
			}
		}
		set hotspot
		{
			name Huskarl_aomsp28idont
			version
			{
				VisualGranny NHuskarl_aomsp28idont
			}
		}
		set hotspot
		{
			name Huskarl_aomsp27giant
			version
			{
				VisualGranny NHuskarl_aomsp27giant
			}
		}
		set hotspot
		{
			name Huskarl_cined1crouchidle
			version
			{
				VisualGranny NHuskarl_cined1crouchidle
			}
		}
		set hotspot
		{
			name Huskarl_cined1firstthe
			version
			{
				VisualGranny NHuskarl_cined1firstthe
			}
		}
		set hotspot
		{
			name NHuskarl_aomsp30notlong
			version
			{
				VisualGranny NHuskarl_aomsp30notlong
			}
		}
		set hotspot
		{
			name NHuskarl_aomsp33midspeared
			version
			{
				Visual NoHuskarl_aomsp33midspeared
			}
		}
	}
}